﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace GSdk.Net.Lglcd
{
    /// <summary>
    /// Instance of devices that support only 160x43 black and white images (remember that they are 1 byte color images, so 8bpp).
    /// </summary>
    public class BlackAndWhiteDevice : Device
    {
        public override DeviceTypes DeviceType { get { return DeviceTypes.BlackAndWhite; } }

        public BlackAndWhiteDevice(Applet parent)
            : base(parent)
        {
        }

        public static Bitmap CreateValidBitmap()
        {
            return new Bitmap(160, 43, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
        }
    }
}
